import 'package:car_music/src/tool/assets.dart';
import 'package:flutter/material.dart';
import 'package:flutter_kit_dsp/flutter_kit_dsp.dart';

class kMyTextButton extends kButton {
  @override
  Color get groundColor => select ?? false ? Color_select_btn : Color_bg_btn;
  kMyTextButton(
      {super.key,
      super.select,
      required super.name,
      super.onClick,
      super.textColor = Colors.white,
      super.borderColor = Color_border});
}

class kMyIconButton extends kIconButton {
  @override
  Color get groundColor => select ?? false ? Color_select_btn : Color_bg_btn;
  kMyIconButton({
    super.key,
    super.select = false,
    super.textColor = Colors.white,
    super.borderColor = Color_border,
    required super.name,
    required super.onClick,
  });
}
